package com.example.t1p3;

public class Goal {
	private Team _team;
	private Player _goal;
	private Player _assist1;
	private Player _assist2;
	private int _period;
	
	public Goal(Team team, Player goal, Player assist1, Player assist2, int period){
		setTeam(team);
		setGoal(goal);
		setAssist1(assist1);
		setAssist2(assist2);
		setPeriod(period);
	}
	
	public Player getGoal() {
		return _goal;
	}
	public void setGoal(Player goal) {
		this._goal = goal;
	}
	public Player getAssist1() {
		return _assist1;
	}
	public void setAssist1(Player assist1) {
		this._assist1 = assist1;
	}
	public Player getAssist2() {
		return _assist2;
	}
	public void setAssist2(Player assist2) {
		this._assist2 = assist2;
	}

	public Team getTeam() {
		return _team;
	}

	public void setTeam(Team team) {
		this._team = team;
	}

	public int getPeriod() {
		return _period;
	}

	public void setPeriod(int period) {
		this._period = period;
	}
}
